-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BACKLOG-23358 Add highlight test #1328
Conversation
cy.loginAndStoreSession(); // Edit in chief | ||
const jcontent = JContent.visit('jcontentSite', 'en', 'pages/home'); | ||
jcontent.publishAll(); | ||
cy.get('button[data-sel-role="openInLive"]', {timeout: 5000}).should('be.visible'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe possible to replace with publishAndWaitJobEnding method from jahia-cypress: https://github.com/Jahia/jahia-cypress/blob/main/src/utils/PublicationAndWorkflowHelper.ts#L2 as going through UI to publish adds quite a bit of time per test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, there must be an issue with it, I keep getting log Caught Graphql Query Error: {"graphQLErrors":[{"message":"Validation error (FieldUndefined@[admin/jahia/scheduler/jobs/siteKey]) : Field 'siteKey' in type 'GqlBackgroundJobConnection' is undefined","locations":
for path: /sites/jcontentSite
JIRA
https://jira.jahia.org/browse/BACKLOG-23358
Description
Add highlight test